home *** CD-ROM | disk | FTP | other *** search
/ Aminet 48 / Aminet 48 (2002)(GTI - Schatztruhe)[!][Apr 2002].iso / Aminet / util / moni / Scout-src.lha / source / objects / scout_commodity_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-02-13  |  2.9 KB  |  131 lines

  1. /**
  2.  * Scout - The Amiga System Monitor
  3.  *
  4.  *------------------------------------------------------------------
  5.  *
  6.  * This program is free software; you can redistribute it and/or modify
  7.  * it under the terms of the GNU General Public License as published by
  8.  * the Free Software Foundation; either version 2 of the License, or
  9.  * any later version.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program; if not, write to the Free Software
  18.  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19.  *
  20.  * You must not use this source code to gain profit of any kind!
  21.  *
  22.  *------------------------------------------------------------------
  23.  *
  24.  * @author Andreas Gelhausen
  25.  * @author Richard Körber <rkoerber@gmx.de>
  26.  */
  27.  
  28.  
  29. /* Prototypes for functions defined in
  30. objects/scout_commodity.c
  31.  */
  32.  
  33. struct   CxEntry {
  34.    struct CxEntry  *cxe_next;
  35.    char *cxe_adr;
  36.    char cxe_address[ADDRESSLENGTH];
  37.    char cxe_type[NODETYPELEN];
  38.    char cxe_pri[PRIORITYLENGTH];
  39.    char cxe_name[CBD_NAMELEN];
  40.    char cxe_title[CBD_TITLELEN];
  41.    char cxe_descr[CBD_DESCRLEN];
  42.    char cxe_task[10+2];
  43.    char cxe_port[10+2];
  44.    char cxe_unique[10+2];
  45.    UBYTE cxe_flags_int;
  46.    char cxe_flags[10+2];
  47. };
  48.  
  49. struct  CxSubEntry {
  50.    char cse_address[ADDRESSLENGTH];
  51.    char cse_type[NODETYPELEN];
  52.    char cse_pri[PRIORITYLENGTH];
  53. };
  54.  
  55. extern int cxcnt;
  56.  
  57. LONG __asm cxlist_cmpprifunc(register __a1 struct CxEntry * , register __a2 struct CxEntry * );
  58.  
  59. extern struct Hook cxlist_cmpprihook;
  60.  
  61. LONG __asm cxlist_cmpaddressfunc(register __a1 struct CxEntry * , register __a2 struct CxEntry * );
  62.  
  63. extern struct Hook cxlist_cmpaddresshook;
  64.  
  65. LONG __asm cxlist_cmpnamefunc(register __a1 struct CxEntry * , register __a2 struct CxEntry * );
  66.  
  67. extern struct Hook cxlist_cmpnamehook;
  68.  
  69. LONG __asm cxlist_dspfunc(register __a2 char ** , register __a1 struct CxEntry * , register __a0 struct Hook * );
  70.  
  71. extern struct Hook cxlist_dsphook;
  72.  
  73. void FreeCx(void);
  74.  
  75. void GetCxEntry(struct CxEntry * , struct MyCxObj * );
  76.  
  77. void UpdateCx(void);
  78.  
  79. int GetCx(struct CxEntry ** );
  80.  
  81. void PrintCx(char * );
  82.  
  83. void ShowCx(void);
  84.  
  85. void SendCxList(void);
  86.  
  87. void GetCxMore(struct MyCxObj * );
  88.  
  89. extern APTR CxSortList[4];
  90.  
  91. extern APTR WI_Cx;
  92.  
  93. extern APTR cxlist;
  94.  
  95. extern APTR cxtext;
  96.  
  97. extern APTR cxcount;
  98.  
  99. extern APTR CY_CxSort;
  100.  
  101. extern int cxsortstate;
  102.  
  103. extern APTR BT_CxAppear;
  104.  
  105. extern APTR BT_CxDisappear;
  106.  
  107. extern APTR BT_CxEnable;
  108.  
  109. extern APTR BT_CxDisable;
  110.  
  111. extern APTR BT_CxKill;
  112.  
  113. extern APTR BT_CxListChg;
  114.  
  115. extern APTR BT_CxUnique;
  116.  
  117. extern APTR BT_CxUpdate;
  118.  
  119. extern APTR BT_CxPrint;
  120.  
  121. extern APTR BT_CxPriority;
  122.  
  123. extern APTR BT_CxRemove;
  124.  
  125. extern APTR BT_CxMore;
  126.  
  127. extern APTR BT_CxExit;
  128.  
  129. void CxWindow(BOOL );
  130.  
  131.